package com.lgmshare.k3.ui.upgrade;

/**
 * @author lim
 * @description: TODO
 * @email lgmshare@gmail.com
 * @datetime 2016/7/14 18:09
 */
public class UpgradeVersion {

    public String version; // apk版本
    public int versionCode; // apk版本号(更新必备)
    public String apkSize; // apk文件大小
    public String apkLog; // apk更日志־
    public String downloadUrl;// 下载地址
    public boolean isForceUpdate;// 是否强制更新

    public UpgradeVersion() {
    }

    public UpgradeVersion(String downloadUrl, String version, String apkSize, int versionCode, String apkLog, boolean isForceUpdate) {
        this.downloadUrl = downloadUrl;
        this.version = version;
        this.apkSize = apkSize;
        this.versionCode = versionCode;
        this.apkLog = apkLog;
        this.isForceUpdate = isForceUpdate;
    }

    public String getDownloadUrl() {
        return downloadUrl;
    }

    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getApkSize() {
        return apkSize;
    }

    public void setApkSize(String apkSize) {
        this.apkSize = apkSize;
    }

    public int getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(int versionCode) {
        this.versionCode = versionCode;
    }

    public String getApkLog() {
        return apkLog;
    }

    public void setApkLog(String apkLog) {
        this.apkLog = apkLog;
    }

    public boolean isForceUpdate() {
        return isForceUpdate;
    }

    public void setForceUpdate(boolean forceUpdate) {
        isForceUpdate = forceUpdate;
    }
}
